//
//  RecorderTool.h
//  KeyBoard
//
//  Created by 古俊杰 on 2018/1/22.
//  Copyright © 2018年 Cocav. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "RecorderHUD.h"

@interface RecorderTool : NSObject

@property (weak, nonatomic) UIView *parentView;

- (BOOL)startRecordWithPath:(NSString *)recordPath;
- (void)stopRecordWithCompletion:(void(^)(BOOL succeed, NSString *recordTime, NSString *recordPath))block;
- (void)deleteRecordWithCompletion:(void(^)(BOOL succeed))block;

@end
